#include <iostream>

int main()
{
    //C++的const是真常量
    const int a = 10;
    int *p = (int *)&a;
    *p = 20;
    std::cout<<a<<std::endl;
    std::cout<<*p<<std::endl;
    printf("%p %p\n",&a,p);
    return 0;
}